<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Inventario.aspx.cs" Inherits="Gestion_Inventario" Title="Untitled Page" %>


<asp:Content ID="Content1" ContentPlaceHolderID="contenido" Runat="Server">
<script language="javascript" type="text/javascript">
// <!CDATA[

function TABLE1_onclick() {

}

 

</script>

    <table id="TABLE1" onclick="return TABLE1_onclick()">
        <tr>
            <td style="text-align: left;" valign="top" colspan="3">
                &nbsp;Estado :
                <asp:DropDownList ID="ddlFamilia" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"
                    Width="200px">
                </asp:DropDownList>&nbsp;</td>
            <td colspan="1" style="width: 3px; text-align: left" valign="top">
               <a href="../Impresiones/inventario.aspx" target="popup" onClick="window.open(this.href, this.target, 'width=800,height=1000'); return false;">Imprimir</a>
               </td>
        </tr>
        <tr>
            <td colspan="4" style="text-align: left" valign="top">
                <asp:GridView CssClass="GridViewStyle" ID="GridView1" runat="server" AutoGenerateColumns="False" Width="600px">
                    <Columns>
                        <asp:BoundField DataField="Id" HeaderText="Id" SortExpression="Id" />
                        <asp:BoundField DataField="Codigo" HeaderText="Codigo" SortExpression="Codigo" />
                        <asp:BoundField DataField="Nombre" HeaderText="Nombre" SortExpression="Nombre" />
                        <asp:BoundField DataField="StockMinimo" HeaderText="StockMinimo" SortExpression="StockMinimo" />
                        <asp:BoundField DataField="StockMaximo" HeaderText="StockMaximo" SortExpression="StockMaximo" />
                        <asp:BoundField DataField="Stock" HeaderText="Stock" SortExpression="Stock" />
                        <asp:TemplateField HeaderText="Estado" ShowHeader="False">
                            <ItemTemplate>
                                <asp:Image ID="Image1" runat="server" ImageUrl='<%# Eval("Color") %>' Height="12px" Width="12px" />
                            </ItemTemplate>
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:TemplateField>
                    </Columns>
                         <RowStyle CssClass="RowStyle" />
        <PagerStyle CssClass="PagerStyle" />
        <HeaderStyle CssClass="HeaderStyle" />
        <AlternatingRowStyle CssClass="AltRowStyle" />
        <SelectedRowStyle CssClass="SelectedRowStyle" />
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td colspan="4" style="text-align: left" valign="top">
            </td>
        </tr>
    </table>
</asp:Content>

